package com.hllxd.hism.star.basic.service.model.order;

import lombok.Data;

/**
 * author: xiyong.lxy
 * date: 2020-11-1 20:37
 */
@Data
public class OrderOutStoreEntity { // tbl_mis_product_transfer_order_outStore_batch
    private Long transOrderDeliveryItemID; //bigint(20) NOT NULL AUTO_INCREMENT COMMENT '记录ID',
    private Long transOrderID; //bigint(20) NOT NULL DEFAULT '0' COMMENT '订单ID',
    private String transOrderOutStoreBatchNo; //varchar(50) NOT NULL DEFAULT '' COMMENT '出库批次号（yyyyMMddHHnnss-orderID-empID-ruand）',
    private Integer transOrderInOutStoreType; //tinyint(4) NOT NULL DEFAULT '0' COMMENT '进出库类型 0：出库（默认） 1：退货入库',
    private Long workOrderID; //bigint(20) NOT NULL DEFAULT '0' COMMENT '关连工单ID',
    private Long recipientEmpID; //bigint(20) NOT NULL DEFAULT '0' COMMENT '领取人EmpID',
    private String recipientEmpName; //varchar(50) NOT NULL DEFAULT '' COMMENT '领取人EmpName',
    private Long recipientGroupID; //bigint(20) NOT NULL DEFAULT '0' COMMENT '领取集团ID',
    private Long recipientShopID; //bigint(20) NOT NULL DEFAULT '0' COMMENT '领取店铺ID',
    private String recipientShopName; //varchar(250) NOT NULL DEFAULT '' COMMENT '领取店铺名称',
    private Long productCategoryID; //bigint(20) NOT NULL DEFAULT '0' COMMENT '产品分类ID',
    private String productCatetoryName; //varchar(250) NOT NULL DEFAULT '' COMMENT '产品分类名称',
    private Long productID; //bigint(20) NOT NULL DEFAULT '0' COMMENT '产品ID',
    private String productName; //varchar(250) NOT NULL DEFAULT '' COMMENT '产品名称',
    private Long productID_Replace; //bigint(20) NOT NULL DEFAULT '0' COMMENT '产品ID（替代产品）',
    private String productName_Replace; //varchar(250) NOT NULL DEFAULT '' COMMENT '产品名称（替代产品）',
    private String productSNCode; //varchar(10000) NOT NULL DEFAULT '' COMMENT '产品SN编码（可多个）',
    private String productUnit; //varchar(50) NOT NULL DEFAULT '' COMMENT '产品规格',
    private Long productNumber; //bigint(20) NOT NULL DEFAULT '0' COMMENT '产品出库数量',
    private Double productUnitCostPrice; //decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '产品成本价（绩效成本价）',
    private Double productProcurementCostPrice; //decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '产品成本价（采购成本价）',
    private String outStoreRemark; //varchar(250) NOT NULL DEFAULT '' COMMENT '出库备注',
    private String expressCarrierName; //varchar(30) NOT NULL DEFAULT '' COMMENT '快递承运商名称 默认为空，表示自送达',
    private String expressOrderLst; //varchar(250) NOT NULL DEFAULT '' COMMENT '快递承运单号列表，多个间用逗号隔开',
    private Double expressCost; //decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '快递成本',
    private Long gylVoucherID; //bigint(50) NOT NULL DEFAULT '0' COMMENT '供应链单号ID',
    private String gylVoucherNo; //varchar(50) NOT NULL DEFAULT '' COMMENT '供应链出库凭证',
    private Double gylProductProcurementCostPrice; //decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '供应链出库成本价',
    private String createBy; //varchar(50) NOT NULL DEFAULT '' COMMENT '创建人员(库管操作人员)',
    private Integer action; //tinyint(4) NOT NULL DEFAULT '0' COMMENT '记录状态',
    private Long createTime; //bigint(20) NOT NULL DEFAULT '0' COMMENT '记录创建时间',
    private Long actionTime; //bigint(20) NOT NULL DEFAULT '0' COMMENT '记录修改时间',
    private String attachment; //varchar(250) NOT NULL DEFAULT '' COMMENT '附件链接',
    private String dataJson; //varchar(250) NOT NULL DEFAULT '' COMMENT '收货地址信息，姓名，电话，收货地址，详细地址',
    private Integer outType; //tinyint(4) DEFAULT NULL COMMENT '出库方式。1:库房直发，2:供应商发货，3:自提',
    private Integer state; //tinyint(4) DEFAULT NULL COMMENT '状态。出库：1-待审核，2-待出库，3-已出库，4-出库失败',
    private Integer auditState; //tinyint(4) DEFAULT NULL COMMENT '审核状态：1-待审核，2-审核通过，3-审核不通过',
    private Integer sort; //tinyint(4) DEFAULT NULL COMMENT '记录当前审核节点',
}
